home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Information / WebSites / Wirenet / files / awebpng.lzx / AWebPNG / Install < prev    next >
Text File  |  2016-06-28  |  2KB  |  88 lines

  1. ; $VER: Install_awebpng_awebplugin
  2. ; Description: Installer script for the "awebpng" plugin for AWeb-II 3.0+
  3.  
  4. (set #welcome
  5.    (cat "This installation procedure will install the \"awebpng\" plugin module for AWeb-II version 3.0 or higher.\n"
  6.         "\n"
  7.         "This plugin enables you to view PNG images in AWeb without the use of datatypes. The plugin has the following features:\n"
  8.         "Optional progressive display\n"
  9.         "Transparency\n"
  10.         "Support for image scaling\n"
  11.         "Support for CyberGraphics\n"
  12.    )
  13. )
  14.  
  15. (set #no-aweb3
  16.    (cat "The \"AWeb3:\" assign was not found.\n\n"
  17.         "This plugin can only be used with AWeb-II version 3.0 or higher."
  18.    )
  19. )
  20.  
  21. (set #show-docs
  22.    (cat "All necessary files have been copied. "
  23.       "To use the plugin, you have to do some additional setup. "
  24.       "This is described in the documentation. "
  25.       "From the documentation, you can run the setup script that performs the additional setup automatically. "
  26.       "\n"
  27.       "Do you want to view the documentation now?\n"
  28.    )
  29. )
  30.  
  31. ; ---------------------------------------------------------------------------
  32.  
  33. (complete 0)
  34.  
  35. (message #welcome)
  36.  
  37. (if (not (exists "AWeb3:"))
  38.    (abort #no-aweb3)
  39. )
  40.  
  41. (complete 10)
  42.  
  43. (if (not (exists "AWeb3:awebplugin"))
  44.    (makedir "AWeb3:awebplugin"
  45.       (infos)
  46.    )
  47. )
  48.  
  49. (set srcdir (pathonly @icon))
  50.  
  51. (copyfiles
  52.    (source (tackon srcdir "awebpng.awebplugin"))
  53.    (dest "AWeb3:awebplugin")
  54.    (infos)
  55. )
  56.  
  57. (complete 50)
  58.  
  59. (if (not (exists "AWeb3:awebplugin/Docs"))
  60.    (makedir "AWeb3:awebplugin/Docs"
  61.       (infos)
  62.    )
  63. )
  64.  
  65. (copyfiles
  66.    (source srcdir)
  67.    (choices "awebpng.html" "awebpng.awebrx")
  68.    (dest "AWeb3:awebplugin/Docs")
  69.    (infos)
  70. )
  71.  
  72. (complete 90)
  73.  
  74. (if
  75.    (askbool
  76.       (prompt #show-docs)
  77.       (help #show-docs)
  78.       (default 1)
  79.    )
  80.    (
  81.       (run "run AWeb3:AWeb-II file:///AWeb3:awebplugin/Docs/awebpng.html")
  82.    )
  83. )
  84.  
  85. (set @default-dest (expandpath "AWeb3:awebplugin"))
  86.  
  87. (complete 100)
  88.